Method QueryFirstRowAsJsonAsync(string, params object[])

Assembly: redb.SQLite.dll

Execute SQL and serialize the FIRST result row to a JSON object string in C#,
or null if there are no rows. SQLite analog of "SELECT row_to_json(t) FROM (...) t".

public Task<string?> QueryFirstRowAsJsonAsync(string sql, params object[] parameters)